package com.game.centerserver.service;

import com.game.centerserver.pojo.result.DSTServerProcessView;

import java.util.ArrayList;
import java.util.List;

public interface ScheduleService {

    void pollMasters();

    // 获取dstServerProcessViewList中运行中的且无玩家时间超时的ArchiveId
    public List<String> getArchiveIdNoPlayersMoreThanMins(
            List<DSTServerProcessView> dstServerProcessViewList,
            Long mins);

    // 召回存档并保存到本地,调用ack
    public boolean callBackArchiveByIdAndSave(
            String IP, Integer port, String archiveId);
}
